package com.example.demo.repository;

import com.example.demo.entity.Huisy;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface HuisyRepository extends JpaRepository<Huisy, Integer> {
    Optional<Huisy> findByNumAndPassword(int num, String password);
}
